// 定义账号相关的 Store
import { defineStore } from 'pinia';

const useMemberStore = defineStore('useMemberStore', () => {
	const member = ref<any>();// const login=()=>{}//登录接口调用，并且存储用户信息
	// 进来获取 token
	member.value = { profile: { token: '假的token' } };//成功登录并且存储
	// 存储到 cookie
	return { member };
});
export default useMemberStore;
